<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title><?php echo $this->title; ?> - placesymbol </title>
    <meta name="Keywords" content="<?php echo $this->keywords; ?>" />
    <meta name="Description" content="<?php echo $this->description; ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/base.css?v=<?php echo $this->version; ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/subject.css?v=<?php echo $this->version; ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/color.css?v=<?php echo $this->version; ?>" />
</head>
<body>
<div id="top">
    <div id="logo">
        <h1><a href="<?php echo base_url(); ?>" title="placesymbol">place symbol</a></h1>
    </div>
    <nav>
        <a href="<?php echo base_url(); ?>">首页</a>
        <?php echo anchor('category', lang('category')); ?>
        <?php echo anchor('merchandise', lang('merchandise')); ?>
        <?php echo anchor('answers', lang('answer')); ?>
        <?php echo anchor('other', lang('aboutus')); ?>
        <?php if($this->session->userdata('uid')): ?>
            <?php echo anchor('admins', '后台管理','title="后台管理" class="login"'); ?>
            <?php echo anchor('user/logout', '退出','title="退出" class="login"'); ?>
        <?php else: ?>
            <?php echo anchor('user', '登录','title="登录" class="login"'); ?>
        <?php endif; ?>
    </nav>
</div>